<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><%@include file="/include/public.jspf"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,user-scalable=no" />
<link rel="stylesheet" type="text/css" href="${path }/css/default/m-base.css" />
<link rel="stylesheet" type="text/css" href="${path }/css/default/m-common.css" />
<link rel="stylesheet" type="text/css" href="${path }/css/default/p-all.css" />
<link rel="stylesheet" type="text/css" href="${path }/css/default/member.css" />
<script type="text/javascript" src="${path }/js/jquery1.10.2.min.js"></script>

<title>我的返利</title>
</head>
<body>
<div class="ui_title">
<a class="ui_back" href="javascript:void(0)" onclick="window.history.back();"><i class="ui_icon_back"></i>返回</a>我的返利</div>
    <section class="m-main p_account_invitation p_load">
<%--         <div class="banner">
            <img src="${path }/images/inv_banner.jpg" width="100%">
        </div> --%>
        <div class="inv_data clearfix">
            <div>
                <p>邀请人数(人)</p>
                <span class="f15">0</span>
            </div>
            <div>
                <p>已返金额(元)</p>
                <span class="f15">0.00</span>
            </div>
            <div>
                <p>待返金额(元)</p>
                <span class="f15">0.00</span>
            </div>
        </div>
        <div class="inv_share">
            <!-- 循环 -->
            <div class="i-list">
                <dl>
                    <dt>
                        <h3>您的邀请码：SH0099</h3>
                        <h4>好友使用邀请码注册/投资<br/>您可获0.10%的返利</h4>
                    </dt>
                    <dd>
                       <input id="inviteBtn" class="inv-btn" type="button" value="邀请">
                    </dd>
                </dl>
            </div>
        </div>
        
<div class="tab_list">
          <!-- 全部 -->
          <div class="tab_con">
              	<div class="con">
              		<ul class="clearfix">
              			<li><span>zhang***skks</span><span class="">返利 6.6元</span><span class="r last">2015-10-28</span></li>
              			<li class="line">姓名</li>
              			<li class="info"><i class="f15">投</i><span>资完成，预计1个工作日后获得返利</span></li>
              		</ul>
              	</div>
          </div>
          
          <div class="tab_con">
              	<div class="con">
              		<ul class="clearfix">
              			<li><span>zhang***skks</span><span class="red_v1">已返 6.6元</span><span class="r last">2015-10-28</span></li>
              			<li class="line">姓名</li>
              			<li class="info"><i class="f15">投</i><span>资完成，预计1个工作日后获得返利</span></li>
              		</ul>
              	</div>
          </div>
          
          <div class="tab_con">
              	<div class="con">
              		<ul class="clearfix">
              			<li><span>zhang***skks</span><span class="red_v1">已返 6.6元</span><span class="r last">2015-10-28</span></li>
              			<li class="line">姓名</li>
              			<li class="info"><i class="f15">投</i><span>资完成，预计1个工作日后获得返利</span></li>
              		</ul>
              	</div>
          </div>
          
          <div class="tab_con">
              	<div class="con">
              		<ul class="clearfix">
              			<li><span>zhang***skks</span><span class="red_v1">已返 6.6元</span><span class="r last">2015-10-28</span></li>
              			<li class="line">姓名</li>
              			<li class="info"><i class="f15">投</i><span>资完成，预计1个工作日后获得返利</span></li>
              		</ul>
              	</div>
          </div>
</div>

         <div class="ui_loadmore_text"><a href="javascript:void(0);">点击加载更多</a></div>
    </section>
    
    <script type="text/javascript">
    var inviteFlag = 1;
    //判断是否微信
    function weixinFacility() {
        var userAgentString = window.navigator ? window.navigator.userAgent : "";
        var weixinreg = /MicroMessenger/i;
        return weixinreg.test(userAgentString);
    };
    if (inviteFlag){
        $('.p_account_invitation').append('<div class="share_wrap"><div class="share_cover"></div><div class="share_box"></div></div>');
        if(weixinFacility()){
          $('.share_wrap').append('<div class="wx_tip"></div>');
          $('.share_box').append('<div class="line"><div class="part"><a class="wx_hy">微信好友</a></div><div class="part"><a class="wx_pyq">朋友圈</a></div><div class="part"><a class="jiathis_button_tsina">新浪微博</a></div><div class="part"><a class="jiathis_button_tqq">腾讯微博</a></div></div><div class="line"><div class="part"><a class="jiathis_button_qzone">QQ空间</a></div><div class="part"><a class="jiathis_button_douban">豆瓣</a></div><div class="part"></div><div class="part"></div></div>');
          $('.wx_hy,.wx_pyq').click(function(event) {
            $('.wx_tip').show();
          });
          $('.wx_tip').click(function(event) {
            $(this).hide();
          });
        } else {
        	 $('.share_box').append('<div class="line"><div class="part"><a class="wx_hy">微信好友</a></div><div class="part"><a class="wx_pyq">朋友圈</a></div></div>');
          }
        $('#inviteBtn').click(function(event) {
          $('.share_wrap').addClass('show');
        });
        $('.share_wrap .share_cover').click(function(event) {
          $('.share_wrap').removeClass('show');
        });
    } else {
      $('#inviteBtn').attr('disabled','disabled');
    }
    </script>
    
    
</body>
</html>